import React, { useEffect, useState } from 'react';
import { Icon } from 'antd-mobile';
import { history } from 'umi';

import './index.less';

export default function ListItem({ item }) {
  const { feedbackId } = item;
  return (
    <div
      className="fullBack_item"
      onClick={() => {
        history.push({
          pathname: '/fullBack/detail',
          query: { feedbackId },
        });
      }}
    >
      <div className="item_1">
        <div>稳产满产反馈</div>
        <div>
          <Icon type="right" />
        </div>
      </div>
      <div className="item_2">
        <div>{item.gmtCreate.substring(0, 10)}</div>
        {/* <div>{item.jyyyj}</div> */}
      </div>
    </div>
  );
}
